import { request } from '@/util/request'

/* *
* 获取用户信息
*  */
export function getUserInfo (id) {
  return request({
    url: '/user-service/userOperate/getUserById?id=' + id,
    method: 'get'
  })
}

/* *
* 修改用户信息
*  */
export function editUserById (user) {
  return request({
    url: '/user-service/userOperate/editUserById',
    method: 'post',
    data: user
  })
}
